package com.hdu;


import com.hdu.ITeacherService;

import com.hdu.InvocationHandler;

import java.lang.reflect.Method;

import com.hdu.Proxy;

import java.lang.reflect.UndeclaredThrowableException;

public final class $Proxy_ITeacherService extends Proxy implements ITeacherService {

    private static Method METHOD_EQUALS;
    private static Method METHOD_TO_STRING;
    private static Method METHOD_HASH_CODE;
    private static Method METHOD_FINDTEACHERBYNAME;
    private static Method METHOD_FINDTEACHERBYNAMEANDID;

    static {
        try {
            METHOD_EQUALS = Class.forName("java.lang.Object").getMethod("equals", Class.forName("java.lang.Object"));
            METHOD_TO_STRING = Class.forName("java.lang.Object").getMethod("toString");
            METHOD_HASH_CODE = Class.forName("java.lang.Object").getMethod("hashCode");
            METHOD_FINDTEACHERBYNAME = Class.forName("com.hdu.ITeacherService").getMethod("findTeacherByName", Class.forName("java.lang.String"));
            METHOD_FINDTEACHERBYNAMEANDID = Class.forName("com.hdu.ITeacherService").getMethod("findTeacherByNameAndId", Class.forName("java.lang.String"), Class.forName("java.lang.String"));
        } catch (NoSuchMethodException var2) {
            throw new NoSuchMethodError(var2.getMessage());
        } catch (ClassNotFoundException var3) {
            throw new NoClassDefFoundError(var3.getMessage());
        }
    }

    public $Proxy_ITeacherService(InvocationHandler var1) {
        super(var1);
    }

    public final int hashCode() {
        try {
            return (Integer) super.h.invoke(this, METHOD_HASH_CODE, (Object[]) null);
        } catch (RuntimeException | Error var2) {
            throw var2;
        } catch (Throwable var3) {
            throw new UndeclaredThrowableException(var3);
        }
    }

    public final String toString() {
        try {
            return (String) super.h.invoke(this, METHOD_TO_STRING, (Object[]) null);
        } catch (RuntimeException | Error var2) {
            throw var2;
        } catch (Throwable var3) {
            throw new UndeclaredThrowableException(var3);
        }
    }

    public final boolean equals(Object var1) {
        try {
            return (Boolean) super.h.invoke(this, METHOD_EQUALS, new Object[]{var1});
        } catch (RuntimeException | Error var2) {
            throw var2;
        } catch (Throwable var3) {
            throw new UndeclaredThrowableException(var3);
        }
    }

    public final String findTeacherByName(String arg1) {
        try {
            return (String) super.h.invoke(this, METHOD_FINDTEACHERBYNAME, new Object[]{arg1});
        } catch (RuntimeException | Error var2) {
            throw var2;
        } catch (Throwable var3) {
            throw new UndeclaredThrowableException(var3);
        }
    }

    public final String findTeacherByNameAndId(String arg1, String arg2) {
        try {
            return (String) super.h.invoke(this, METHOD_FINDTEACHERBYNAMEANDID, new Object[]{arg1, arg2});
        } catch (RuntimeException | Error var2) {
            throw var2;
        } catch (Throwable var3) {
            throw new UndeclaredThrowableException(var3);
        }
    }

}
